package com.sengled.cloud.biz.union.mgt.model.vo;

import com.sengled.cloud.biz.union.mgt.model.po.Module;
import com.sengled.cloud.biz.union.mgt.model.po.ModulePermission;
import com.sengled.cloud.biz.union.mgt.model.po.Permission;
import lombok.Data;

import java.util.List;

/**
 * Created by csolo on 2017/11/7.
 */
@Data
public class ModulePermissions {
    /**
     *   主键
     * Column: module.id
     @mbggenerated 2017-11-07 13:50:32
     */
    private Long id;

    /**
     *   模块ID
     * Column: module.module_code
     @mbggenerated 2017-11-07 13:50:32
     */
    private String moduleCode;

    /**
     *   模块名称
     * Column: module.module_name
     @mbggenerated 2017-11-07 13:50:32
     */
    private String moduleName;

    /**
     *   模块url
     * Column: module.module_url
     @mbggenerated 2017-11-07 13:50:32
     */
    private String moduleUrl;

    /**
     *   图标
     @mbggenerated 2017-11-07 13:50:32
     */
    private String icon;

    /**
     *   父节点ID
     * Column: module.parent_id
     @mbggenerated 2017-11-07 13:50:32
     */
    private Long parentId;

    /**
     *   层级
     * Column: module.level
     @mbggenerated 2017-11-07 13:50:32
     */
    private Integer level;

    /**
     *   是否叶子节点
     * Column: module.is_leaf
     @mbggenerated 2017-11-07 13:50:32
     */
    private Boolean isLeaf;

    /**
     *   排序字段
     * Column: module.order_no
     @mbggenerated 2017-11-07 13:50:32
     */
    private Integer orderNo;

    /**
     *   渠道
     * Column: module.channel
     @mbggenerated 2017-11-07 13:50:32
     */
    private String channel;
    private List<Permission> permissionList;
    private List<ModulePermissions> childModules;
}
